import { createSlice } from '@reduxjs/toolkit'

const baseMapSlice = createSlice({
  name: 'baseMap',
  initialState: {
    map: null,
  },
  reducers: {
    getMap: (state, action) => {
      // console.log(value)
      state.map = action.payload
    },
  },
})
export { baseMapSlice }
